package ExtEntities;

import Entities.Group;
import java.sql.Date;
import java.util.LinkedList;


/**
 *
 * @author 647_2
 */
public class ExtAlbum {
    private int ID;
    private String name;
    private Date date;
    private LinkedList<Group> groups;

    public ExtAlbum(){
        ID = 0;
        name = "";
        date = new Date(0);
        this.groups = new LinkedList<Group>();
    }

    public ExtAlbum(int ID, String name, Date date, LinkedList<Group> groups) {
        this.ID = ID;
        this.name = name;
        this.date = date;
        this.groups = groups;
    }

    public int getID() {
        return ID;
    }

    public void setID(int ID) {
        this.ID = ID;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public LinkedList<Group> getGroups() {
        return groups;
    }

    public void setGroups(LinkedList<Group> groups) {
        this.groups = groups;
    }

}
